package cn.com.api.service;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import cn.com.api.entity.ApiU_match_works;
import cn.com.api.service.base.U_match_worksServiceBase;

/**
 * 
 */
@Service
public interface ApiU_match_worksService extends U_match_worksServiceBase {

	// 新增对象后返回记录ID
	public int U_match_worksInsertion(ApiU_match_works u_match_works);

	// 获取作品列表根据赛事ID
	public List<ApiU_match_works> findU_match_worksByMatchId(Integer matchId) throws Exception;

	public List<ApiU_match_works> findU_api_matchs_vote(Map<String, Object> params) throws Exception;

	public List<Map<String, Object>> findU_matchs_statistics_condition(Map<String, Object> params) throws Exception;

	public List<ApiU_match_works> findU_match_search_works(Map<String, Object> params) throws Exception;

	public List<ApiU_match_works> findU_match_already_works(Map<String, Object> params) throws Exception;

	public Map<String, Object> findMatchworkInfo(Integer works_id) throws Exception;

	public List<Map<String, Object>> findU_match_statistics(Map<String, Object> params) throws Exception;

	public void insertMatchworks(ApiU_match_works u_match_works) throws Exception;
}
